:host {
  overflow: hidden;
}
.mask {
  position: fixed;
  height: 100vh;
  width: 100%;
  top: 0;
  left: 0;
  background-color: #e5e5e5;
  opacity: .5;
  z-index: 2999;
}
.dialog-container {
  display: block;
  position: fixed;
  background-color: #fff;
  z-index: 3000;
  .header {
    display: flex;
    align-items: center;
    padding: .7rem;
    border-bottom: 1px solid #e5e5e5;
    .title {
      flex: 1;
      font-size: 1.1rem;
      font-weight: 600;
    }
    .close {
      display: block;
      height: 100%;
    }
  }
  .content {
    padding: 1.2rem;
  }
  .footer {
    border-top: 1px solid #e5e5e5;
  }
  .footer-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 2.5rem;
    // border-top: 1px solid #e5e5e5;
    button {
      border-radius: 10px;
      padding: .3rem;
      background-color: #fff;
      border: 1px solid #e5e5e5;
      margin-right: 1rem;
    }
  }
}
.center {
  top: 50%;
  left: 50%;
  transform: translate3d(-50%,-50%,0);
}
.topCenter {
  top: 0;
  left: 50%;
  transform: translate3d(-50%,0,0);
}
.topLeft {
  top: 0;
  left: 0;
}
.bottomLeft {
  bottom: 0;
  left: 0;
}
.bottomCenter {
  bottom: 0;
  left: 50%;
  transform: translate3d(-50%,0,0);
}
